home *** CD-ROM | disk | FTP | other *** search
/ Word Perfect Main Street: Paper Planes / WordPerfect Main Street - Paper Planes.iso / mac / p21-24 / 00050_Script_50 < prev    next >
Text File  |  1994-07-31  |  640b  |  24 lines

  1. on exitFrame
  2.   -- restore normal mousedown handling and play done
  3.   when mouseDown then nothing
  4.   
  5.   global Plane
  6.   unloadCast ("P" & string(Plane) & ".PRE")
  7.   
  8.   global StepsChannel  
  9.   puppetSprite StepsChannel, false  -- back to normal
  10.   
  11.   global Plane, Step, NumSteps
  12.   global ReturnFrame
  13.   set toFrame = label("P" & string(Plane) & "S" & string(Step))
  14.   if ReturnFrame > (toFrame + 1) then
  15.     if Step = NumSteps then
  16.       go to toFrame + 10  -- offset to "after play" for last frame
  17.     else
  18.       go to toFrame + 7  -- offset to "after play" frame
  19.     end if
  20.   else
  21.     go to toFrame
  22.   end if
  23.   cursor -1
  24. end